﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SupermarketReport
{
    class Row
    {
        private int productID;
        private int quantity;
        private string shopName;
        private double price;

        public Row(int productID, int quantity, string shopName, double price)
        {
            this.productID = productID;
            this.quantity = quantity;
            this.shopName = shopName;
            this.price = price;
        }

        public int ProductID
        {
            get
            {
                return productID;
            }
            set
            {
                productID = value;
            }
        }

        public int Quantity
        {
            get
            {
                return quantity;
            }
            set
            {
                quantity = value;
            }
        }

        public string ShopName
        {
            get
            {
                return shopName;
            }
            set
            {
                shopName = value;
            }
        }

        public double Price
        {
            get
            {
                return price;
            }
            set
            {
                price = value;
            }
        }
    }
}
